package com.ruoyi.pay.common;

public interface PayConstant {

    String ZERO_STR = "0";
    String ONE_STR = "1";
    String TWO_STR = "2";

    int ZERO_INT = 0;
    int ONE_INT = 1;
    int TWO_INT = 2;

    /**
     * 二维码类型
     */
    interface QRCODE_TYPE
    {
        /**微信*/
        String QRCODE_WX = "WX";
        /**支付宝*/
        String QRCODE_ZFB = "ZFB";
    }
    /**
     * 订单类型
     */
    interface ORDER_TYPE
    {
        /**商品*/
        String GOODS = "1";
        /**充值*/
        String RECHARGE = "2";
    }
    /**
     * 订单状态
     */
    interface ORDER_STATUS
    {
        /**待支付*/
        String UNPAY = "unpay";
        /**已完成*/
        String COMPLETE = "complete";
        /**已取消*/
        String CANCEL = "CANCEL";
        /**已过期*/
        String EXPIRE = "expire";
    }

    /**
     * 订单来源
     */
    interface ORDER_SOURCE
    {
        /** 系统内部*/
        String IN = "1";
        /** 外部*/
        String OUT = "2";
    }

    /**
     * 支付方式
     */
    interface PAY_WAY
    {
        /**微信*/
        String WECHAT = "WX";
        /**支付宝*/
        String ALIPAY = "ZFB";
    }
}
